﻿using System;
using System.Collections.Generic;

namespace DB.Models;

/// <summary>
/// 注册用户实体
/// </summary>
public partial class RegistUser
{
        /// <summary>
    /// 用户唯一标识
    /// </summary>
    public string Id { get; set; } = null!;

        /// <summary>
    /// 登录用户名
    /// </summary>
    public string? LoginName { get; set; }

    public string? LoginPassword { get; set; }

    public DateTime? CreateTime { get; set; }

    public DateTime? UpdateTime { get; set; }

    public string? RoleId { get; set; }

    public string? DepartmentId { get; set; }

    public virtual Department? Department { get; set; }

    public virtual ICollection<Log> Logs { get; set; } = new List<Log>();

    public virtual Role? Role { get; set; }

    public virtual ICollection<ThirdPartyEntrance> ThirdPartyEntrances { get; set; } = new List<ThirdPartyEntrance>();

    public virtual ICollection<UserDetail> UserDetails { get; set; } = new List<UserDetail>();
}
